import { ApiProperty } from '@nestjs/swagger'

export class OrderItemResVo {
  @ApiProperty({ description: '主订单号' })
  orderCode: string

  @ApiProperty({ description: '商品id' })
  productId: number

  @ApiProperty({ description: '商品名称' })
  productName: string

  @ApiProperty({ description: '商品图片' })
  productImg: string

  @ApiProperty({ description: '商品数量' })
  num: number

  @ApiProperty({ description: '商品价格' })
  price: number

  @ApiProperty({ description: '创建时间' })
  createdTime: Date

  @ApiProperty({ description: '更新时间' })
  updatedTime: Date
}